# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=clutter-gtk
pkgver=1.8.4
pkgrel=1
pkgdesc="Gtk clutter embed library"
url="https://wiki.gnome.org/Projects/Clutter"
arch="all"
license="LGPL-2.0-or-later"
makedepends="gtk+3.0-dev clutter-dev libxslt libxml2-utils itstool gobject-introspection-dev"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
source="https://download.gnome.org/sources/clutter-gtk/${pkgver%.*}/clutter-gtk-$pkgver.tar.xz"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="810f879a56cd71f1e9c4678ef704a997ee652d052cfea56b3ed9478f7a813a35dd2fdcded028ce17411ae02da52fa31e0fb8d1f4130c7b9f6d25eeb774b51ada  clutter-gtk-1.8.4.tar.xz"
